package cn.saas.inputbox.customkeyboard;


import android.app.Activity;

import cn.saas.inputbox.R;


/**
 * 自定义键盘
 * Created by kuangch on 17/3/10.
 */
public class KeyboardNumber extends BaseKeyboard {

    public KeyboardNumber(Activity activity) {
        this(activity, false, false);
    }

    public KeyboardNumber(Activity activity, boolean ifRandom, boolean isWidthDecimal) {

        int layoutResId;
        if (isWidthDecimal)
            layoutResId = cn.saas.inputbox.R.xml.keyboard_number_with_decimal;

        else
            layoutResId = R.xml.keyboard_number;

        init(activity, layoutResId, ifRandom);
    }
}